<?php

namespace Controller\User;

class Fans extends Base {

    protected $menuType = '';

    public function actionIndex() {
        $pager = new \Lib\Core\Pager();
        $pager->currentPage = $this->getInt('page', 1);
        $fans = \Business\User::instance()->getFansUsers($this->userId, $pager);
        $this->assign('fans', $fans);
        $this->assign('pager', $pager);
        $this->display();
    }
}